﻿namespace HKTools
{
    /// <summary>  
    /// 任务队列开始事件  
    /// </summary>  
    public struct Event_STS_TaskQueueStart
    {
        public STS_TaskQueueType _taskQueueType;

        public Event_STS_TaskQueueStart(STS_TaskQueueType taskQueueType)
        {
            _taskQueueType = taskQueueType;
        }
    }

    /// <summary>  
    /// 任务队列完成事件  
    /// </summary>  
    public struct Event_STS_TaskQueueFinish
    {
        public STS_TaskQueueType _taskQueueType;

        public Event_STS_TaskQueueFinish(STS_TaskQueueType taskQueueType)
        {
            _taskQueueType = taskQueueType;
        }
    }

    /// <summary>  
    /// 任务队列中断事件  
    /// </summary>  
    public struct Event_STS_TaskQueueBreakUp
    {
        public STS_TaskQueueType _taskQueueType;

        public Event_STS_TaskQueueBreakUp(STS_TaskQueueType taskQueueType)
        {
            _taskQueueType = taskQueueType;
        }
    }

    /// <summary>  
    /// 任务开始事件（泛型）  
    /// </summary>  
    public struct Event_STS_TaskStart
    {
        public STS_TaskQueueType _taskQueueType;
        public string _taskName;

        public Event_STS_TaskStart(STS_TaskQueueType taskQueueType, string taskType)
        {
            _taskQueueType = taskQueueType;
            _taskName = taskType;
        }
    }

    /// <summary>  
    /// 任务完成事件（泛型）  
    /// </summary>  
    public struct Event_STS_TaskFinish
    {
        public STS_TaskQueueType _taskQueueType;
        public string _taskName;

        public Event_STS_TaskFinish(STS_TaskQueueType taskQueueType, string taskType)
        {
            _taskQueueType = taskQueueType;
            _taskName = taskType;
        }
    }
}